package com.hwadee.springboot.service.impl;

import com.hwadee.springboot.entity.R;
import com.hwadee.springboot.entity.studnrtEntity.StudnetTestInfo;
import com.hwadee.springboot.mapper.ParentConMapper;
import com.hwadee.springboot.service.ParentConService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ParentConServiceImpl implements ParentConService {
    @Autowired
    private ParentConMapper  parentConMapper;
    @Override
    public R getExamAndParentInfo() {
        List<StudnetTestInfo> studnetTestInfos = parentConMapper.selectStudnetTestInfo();
        return R.ok().data(studnetTestInfos);
    }
}
